import Vue from 'vue'
import axios from 'axios'
import http from '@/api/http'
import App from './App.vue'
import router from './router'
import './plugins/element.js'

// 导入全局样式表
import '@/assets/css/global.css'
import '@/assets/css/font-awesome.css'
import '@/assets/css/font-awesome.min.css'
import store from './store'

Vue.config.productionTip = false

// 把 axios 挂载到 Vue.prototype 上,供每个 .vue 组件的实例直接使用
Vue.prototype.$http = axios

new Vue({
  router,
  http,
  store,
  render: h => h(App)
}).$mount('#app')
